// 导入自己需要的组件
import {
  Switch,
  Menu,
  MenuItem,
  MenuItemGroup,
  Submenu,
  Carousel,
  CarouselItem,
  Pagination,
  Tabs,
  TabPane,
  Table,
  TableColumn,
  Slider,
  Input,
  Popover,
  Button,
  Form,
  FormItem,
  Message,
  Drawer,
  InfiniteScroll,
  Dialog,
  Link,
  Tooltip,
  Loading
} from "element-ui";
const element = {
  install: function (Vue) {
    Vue.use(Carousel);
    Vue.use(CarouselItem);
    Vue.use(Menu);
    Vue.use(MenuItem);
    Vue.use(Slider);
    Vue.use(Table);
    Vue.use(TabPane);
    Vue.use(Tabs);
    Vue.use(Input);
    Vue.use(Button);
    Vue.use(Dialog);
    Vue.use(Pagination);
    Vue.use(TableColumn);
    Vue.use(Loading);
    Vue.use(Popover);
  }
}
export default element